/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package net.duricomeilmetallo.jpdp8;

/**
 *
 * @author DCM
 */
public class IncompatibleLengthException extends Exception {

    private int alen;
    private int blen;

    IncompatibleLengthException(int a, int b) {
        alen=a;
        blen=b;
    }
   public String getMessage(){
    return "Lunghezza degli array incompatibile. A: "+alen+"B: "+blen+".";
    }
}
